Clean up a previous qemu workaround where we use
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 29 Nov 2005 10:40:16 +0000 (11:40 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 29 Nov 2005 10:40:16 +0000 (11:40 +0100)
/etc/xen/qemu-vgaram-bin as vgabios.

Signed-off-by: Ke Yu <ke.yu@intel.com>
tools/ioemu/hw/vga.c

index a18039ef6300af190eca3281f2e71eb1193a7e33..bd4b72ac90fcfaa13170aeb099ed396fbda009bf 100644 (file)
@@ -1834,16 +1834,6 @@ void vga_bios_init(VGAState *s)
 
     /* TODO:add vbe support if enable it */
 
-    FILE *qemuf = fopen("/etc/xen/qemu-vgaram-bin", "rb");
-    if (!qemuf) {
-        fprintf(logfile, "open qemu vgaram binary failed!\n");
-    } else {
-        /*load vram contents, else vga console can't boot */
-        qemu_get_buffer(qemuf, s->vram_ptr, 256*1024);
-
-        fclose(qemuf);
-    }
-
 }
 
 void vga_common_init(VGAState *s, DisplayState *ds, uint8_t *vga_ram_base,